package ysq.xyg.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import ysq.xyg.base.BaseDao;
import ysq.xyg.model.Address;

@Repository
public interface AddressDao extends BaseDao<Address> {

    /**
     * 将除此id之外的地址设置为非默认
     */
    int updateDefaultType(@Param("id") String id);
}